#!/bin/sh

xrdb $HOME/.Xresources

#disable the desktop screen lock
gsettings set org.gnome.desktop.session idle-delay 0

#tempory remove anaconda from PATH to avoid conflicts.
export PATH=`echo $PATH | tr ":" "\n" | grep -i -v "anaconda" | tr "\n" ":"`

#xsetroot -solid grey
xsetroot -solid white &

# enable vncconfig
/usr/bin/vncconfig -iconic &

#xterm -e xhost + &
#xterm -geometry 80x24+10+10 -e xhost + &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

#twm &
#/opt/gnome/bin/gnome-terminal &
#/usr/bin/gnome-session &
/usr/bin/startkde &

# enable xcutsel if exist
#/usr/bin/xcutsel &
